package com.entfrm.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.entfrm.system.entity.UserApplicaition;
import com.entfrm.system.mapper.UserApplicationMapper;
import com.entfrm.system.service.UserApplicationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户和角色关联表 服务实现类
 * </p>
 *
 * @author entfrm
 * @since 2019-01-30
 */
@Service
public class UserApplicationServiceImpl extends ServiceImpl<UserApplicationMapper, UserApplicaition> implements UserApplicationService {
   @Autowired
   UserApplicationMapper userApplicationMapper;
    @Override
    public Integer deleteByUserId(Integer userId) {
        return userApplicationMapper.deleteByUserId(userId);
    }
}
